<tr class="prop">
  <td valign="top" class="name">Contacts:</td>
  <td valign="top" style="text-align:left;" class="value">
    <tdcmw:displayHTMLList list="${company?.contacts}" sort="asc">There are no contact for this office.</tdcmw:displayHTMLList><br />
    <tdcmw:submitFormButton action="createContact" label="Create Contact" params="[id:company.id]" />
    <tdcmw:submitFormButton action="contactList" label="List Contacts" params="[id:company.id]" />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">Representatives:</td>
  <td valign="top" style="text-align:left;" class="value">
    <tdcmw:displayHTMLList list="${company.reps}" controller="person" action="showRep" sort="asc"><font class="errorMessage">There were no reps found for this company.</font></tdcmw:displayHTMLList>
    <tdcmw:submitFormButton action="repList" label="List Reps" params="[id:company.id]" />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="notifications">Office Calls:</label>
  </td>
  <td valign="top" class="value ${hasErrors(bean:company, field:'officeCalls','errors')}">
    <tdcmw:displayHTMLList list="${company.officeCalls}" controller="officeCall" action="show" sort="asc" max="5"><font class="errorMessage">There are no office calls listed for this office.</font></tdcmw:displayHTMLList>
    <tdcmw:submitFormButton action="createOfficeCall" params="[id:company.id]" label="Create Office Call" />
    <tdcmw:submitFormButton action="listOfficeCalls" label="List Office Calls" params="[id:company.id]" />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="notifications">Notifications:</label>
  </td>
  <td valign="top" class="value ${hasErrors(bean:company,field:'notifications','errors')}">
    <tdcmw:displayHTMLList list="${company.notifications}" controller="notification" sort="asc" max="5">There are currently no active notifications.</tdcmw:displayHTMLList><br />
    <tdcmw:submitFormButton action="createNotification" label="Create Notification" params="[id:company.id]" />
    <tdcmw:submitFormButton action="listNotifications" label="List Notifications" params="[id:company.id]" />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="officeHours">Office Hours:</label>
  </td>
  <td valign="top" class="value ${hasErrors(bean:company, field:'officeHours','errors')}">
    <tdcmw:displayHTMLList list="${company.officeHours}" controller="officeHours" sort="asc">There are no office hours for this office.</tdcmw:displayHTMLList><br />
    <tdcmw:submitFormButton action="listOfficeHours" label="Modify Office Hours" params="[id:company.id]" confirm="This option is not implemented yet." />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="offices">Offices:</label>
  </td>
  <td valign="top" class="value ${hasErrors(bean:company,field:'offices','errors')}">
    <tdcmw:displayHTMLList list="${company.offices}" controller="company" sort="asc">There are no offices listed for this office.</tdcmw:displayHTMLList>
    <tdcmw:submitFormButton action="listOffices" label="Modify Offices" params="[id:company.id]" confirm="This option is not implemented yet." />
  </td>
</tr>
<tr class="prop">
  <td valign="top" class="name">
    <label for="closed">Out Of Office:</label>
  </td>
  <td>
    <tdcmw:displayHTMLList list="${company.closed}" controller="outOfOffice" sort="asc">There are no out of office times entered for this office.</tdcmw:displayHTMLList>
    <tdcmw:submitFormButton action="listOutOfOffice" label="Modify Out of Office" params="[id:company.id]" confirm="This option is not implemented yet." />
  </td>
</tr>
